package com.settlement.system.service;

import com.settlement.system.model.entity.SysFlowMarketHistory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.model.query.SysFlowMarketHistoryQuery;
import com.settlement.system.model.form.SysFlowMarketHistoryForm;
import com.settlement.system.model.vo.SysFlowMarketHistoryImportVo;
import java.util.List;

/**
 * <p>
 * 流程市场历史版本表 服务类
 * </p>
 *
 * @author huangrensen
 * @since 2024-01-08
 */
public interface SysFlowMarketHistoryService extends IService<SysFlowMarketHistory> {

    Page<SysFlowMarketHistory> getPage(SysFlowMarketHistoryQuery queryParams);

    boolean saveSysFlowMarketHistory(SysFlowMarketHistoryForm sysFlowMarketHistoryForm);

    SysFlowMarketHistoryForm getSysFlowMarketHistoryFormData(Long id);

    boolean deleteSysFlowMarketHistory(String ids);

    void importData(List<SysFlowMarketHistoryImportVo> importVos);

    List<SysFlowMarketHistoryImportVo> findByIds(String idsStr);

    List<SysFlowMarketHistory> getHistoryList(String flowId);

    boolean rollBack(String flowId, String historyId);
}
